
<div class="Breadcrumb">
	  <div class="Breadcrumb-i">您当前所在的位置：<span><a href="<?php echo base_url($this->_site_path.'/adv');?>">广告表</a></span>&nbsp;>&nbsp;<span class="orange"><?php echo isset($adv_data['adv_id'])?'修改':'添加';?></span> </div>               <div class="Breadcrumb-div">
       	   <ul>
           	   <li class="Breadcrumb-tj"><a href="<?php echo base_url( $this->_site_path.'/adv/add' );?>" >添加</a></li>
           	   <li class="Breadcrumb-lb"><a href="<?php echo base_url( $this->_site_path.'/adv' );?>" >列表</a></li>
           </ul>
        </div>
</div>
<div class="box box-headtitle box-radius">
<?php get_messagebox();// 获取提示框 ?>
	<form method="post">

		<div class="control-group">
			<label class="control-label" for="adv_id">广告自增标识编号</label>
			<div class="controls">
				<input type="text" name="adv_id" id="adv_id" placeholder="" value="<?php echo isset($adv_data['adv_id'] ) ? $adv_data['adv_id'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="ap_id">广告位id</label>
			<div class="controls">
				<input type="text" name="ap_id" id="ap_id" placeholder="" value="<?php echo isset($adv_data['ap_id'] ) ? $adv_data['ap_id'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="adv_title">广告内容描述</label>
			<div class="controls">
				<input type="text" name="adv_title" id="adv_title" placeholder="" value="<?php echo isset($adv_data['adv_title'] ) ? $adv_data['adv_title'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="adv_content">广告内容</label>
			<div class="controls">
				<input type="text" name="adv_content" id="adv_content" placeholder="" value="<?php echo isset($adv_data['adv_content'] ) ? $adv_data['adv_content'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="adv_start_date">广告开始时间</label>
			<div class="controls">
				<input type="text" name="adv_start_date" id="adv_start_date" placeholder="" value="<?php echo isset($adv_data['adv_start_date'] ) ? $adv_data['adv_start_date'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="adv_end_date">广告结束时间</label>
			<div class="controls">
				<input type="text" name="adv_end_date" id="adv_end_date" placeholder="" value="<?php echo isset($adv_data['adv_end_date'] ) ? $adv_data['adv_end_date'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="slide_sort">幻灯片排序</label>
			<div class="controls">
				<input type="text" name="slide_sort" id="slide_sort" placeholder="" value="<?php echo isset($adv_data['slide_sort'] ) ? $adv_data['slide_sort'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="click_num">广告点击率</label>
			<div class="controls">
				<input type="text" name="click_num" id="click_num" placeholder="" value="<?php echo isset($adv_data['click_num'] ) ? $adv_data['click_num'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="created">添加时间</label>
			<div class="controls">
				<input type="text" name="created" id="created" placeholder="" value="<?php echo isset($adv_data['created'] ) ? $adv_data['created'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="modified">修改时间</label>
			<div class="controls">
				<input type="text" name="modified" id="modified" placeholder="" value="<?php echo isset($adv_data['modified'] ) ? $adv_data['modified'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="status">状态</label>
			<div class="controls">
				<input type="text" name="status" id="status" placeholder="" value="<?php echo isset($adv_data['status'] ) ? $adv_data['status'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group control-group-submit">
			<button type="submit" class="btn  btn-blue  floa-Left"><?php echo isset($adv_data['adv_id'])?'修改':'添加';?></button>
			<button type="submit" class="btn  btn-blue">重置</button>
		</div>
		<input type="hidden" name="is_submit" value="1">
		<!--__TOKEN__-->
	</form>
</div>
